import request from '@/utils/request'

// 查询专业市场客户列表
export function listZyscKh(query) {
  return request({
    url: '/buss/zyscKh/list',
    method: 'get',
    params: query
  })
}

// 查询专业市场客户详细
export function getZyscKh(id) {
  return request({
    url: '/buss/zyscKh/' + id,
    method: 'get'
  })
}

// 新增专业市场客户
export function addZyscKh(data) {
  return request({
    url: '/buss/zyscKh',
    method: 'post',
    data: data
  })
}

// 修改专业市场客户
export function updateZyscKh(data) {
  return request({
    url: '/buss/zyscKh',
    method: 'put',
    data: data
  })
}

// 删除专业市场客户
export function delZyscKh(id) {
  return request({
    url: '/buss/zyscKh/' + id,
    method: 'delete'
  })
}
